import request from '@/utiles/request.js'
// 登录接口
export const loginApi = ({ username, password }) => {
  return request({
    url: '/user/login',
    method: 'POST',
    data: {
      username,
      password
    }
  })
}
